﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProcessExchangePart.aspx.cs"
    EnableEventValidation="false" 
    Inherits="DuJianliang.ApplicationPlatform.Proj5715.Process.ProcessExchangePart" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Expires" content="0" /> 
    <meta http-equiv="Cache-Control" content="no-cache" /> 
    <meta http-equiv="Pragma" content="no-cache" />
    <title></title>
    <base target="_self" />
    <link rel="Stylesheet" type="text/css"  href="../../Styles/Style.css" />
    <style>
        th
        {
            font-size: 9pt;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="text-align: right; margin-bottom: 5px;">
            <asp:Button ID="btnCreate" runat="server" Text="添加串件" OnClick="btnCreate_Click">
            </asp:Button>
        </div>
        <asp:Repeater ID="rpt" runat="server" onitemcommand="rpt_ItemCommand">
            <HeaderTemplate>
                <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#999999">
                    <tr>
                        <th width="11%" rowspan="2" align="center" bgcolor="#ECF3F4">
                            串件时间
                        </th>
                        <th height="25" colspan="5" align="center" bgcolor="#ECF3F4">
                            来源
                        </th>
                        <th colspan="5" align="center" bgcolor="#ECF3F4">
                            目标
                        </th>
                        <th width="6%" rowspan="2" align="center" bgcolor="#ECF3F4">
                            操作
                        </th>
                    </tr>
                    <tr>
                        <th width="9%" height="25" align="center" bgcolor="#ECF3F4">
                            派工单号
                        </th>
                        <th width="7%" align="center" bgcolor="#ECF3F4">
                            弹号
                        </th>
                        <th width="8%" align="center" bgcolor="#ECF3F4">
                            工序
                        </th>
                        <th width="9%" align="center" bgcolor="#ECF3F4">
                            零件代码
                        </th>
                        <th width="8%" align="center" bgcolor="#ECF3F4">
                            零件号
                        </th>
                        <th width="9%" align="center" bgcolor="#ECF3F4">
                            派工单号
                        </th>
                        <th width="8%" align="center" bgcolor="#ECF3F4">
                            弹号
                        </th>
                        <th width="7%" align="center" bgcolor="#ECF3F4">
                            工序
                        </th>
                        <th width="10%" align="center" bgcolor="#ECF3F4">
                            零件代码
                        </th>
                        <th width="8%" align="center" bgcolor="#ECF3F4">
                            零件号
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td height="25" bgcolor="#FFFFFF" align="center">
                        <%# Eval("ExchangeDate")%>
                    </td>
                    <td bgcolor="#FFFFFF" align="center">
                         <%# Eval("Source_DispatchCode")%>&nbsp;
                    </td>
                    <td bgcolor="#FFFFFF" align="center">
                         <%# Eval("Source_MissileCode")%>&nbsp;
                    </td>
                    <td bgcolor="#FFFFFF" align="center">
                         <%# Eval("Source_WorkTeam")%>&nbsp;
                    </td>
                    <td bgcolor="#FFFFFF" align="center">
                         <%# Eval("Source_PartCode")%>&nbsp;
                    </td>
                    <td bgcolor="#FFFFFF" align="center">
                         <%# Eval("Source_PartNumber")%>&nbsp;
                    </td>
                    <td bgcolor="#FFFFFF" align="center">
                         <%# Eval("Targe_DispatchCode")%>&nbsp;
                    </td>
                    <td bgcolor="#FFFFFF" align="center">
                        <%# Eval("Targe_MissileCode")%> &nbsp;
                    </td>
                    <td bgcolor="#FFFFFF" align="center">
                         <%# Eval("Targe_WorkTeam")%>&nbsp;
                    </td>
                    <td bgcolor="#FFFFFF" align="center">
                        <%# Eval("Targe_PartCode")%> &nbsp;
                    </td>
                    <td bgcolor="#FFFFFF" align="center">
                         <%# Eval("Targe_PartNumber")%>&nbsp;
                    </td>
                    <td bgcolor="#FFFFFF" align="center">
                        <asp:Button ID="btn_Edit" runat="server" Text="编  辑"  CommandName="Modify" CommandArgument='<%# Eval("ExchangePartID")%>' Visible="false"/>
                        <asp:Button ID="btn_Del" runat="server" Text="删  除" CommandName="Del" CommandArgument='<%# Eval("ExchangePartID")%>'
                         OnClientClick="return confirm('您确定要删除该记录吗？');"
                        />
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
